package com.lefevre.cms.bean.fulltext;

import com.lefevre.cms.bean.question.Question;
import com.lefevre.cms.bean.topic.Topic;
import lombok.Data;

import java.io.Serializable;

/**
 * 搜索结果
 *
 * @author Lefevre
 */
@Data
public class SearchResult implements Serializable {
    private static final long serialVersionUID = 1492732938859028084L;

    /**
     * 索引模块 10:话题 20：问题
     **/
    private Integer indexModule;

    /**
     * 话题
     **/
    private Topic topic;

    /**
     * 问题
     **/
    private Question question;

}
